package com.trkj.popj;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
@NoArgsConstructor
public class Student {
    private int stuId;
    private String name;
    private Date bir;
    private String sex;
    public Student(int stuId, String name, Date bir, String sex) {
        this.stuId = stuId;
        this.name = name;
        this.bir = bir;
        this.sex = sex;
    }
}
